package com.ssh.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.ssh.dao.TeacherDAO;

@Component("teacherService")
public class TeacherService
{
    private TeacherDAO techDao;

    @Resource(name="teacherDao")
    public void setTechDao(TeacherDAO techDao)
    {
        this.techDao = techDao;
    }
    
    public TeacherDAO getTechDao()
    {
        return techDao;
    }
}
